package pl.enigmatic.jpf;

public class DependencyPropertyChangedEventArgs<X> {

	private final X oldValue;
	private final X newValue;
	private final DependencyProperty<?, X> property;

	public DependencyPropertyChangedEventArgs(final X oldValue, final X newValue, final DependencyProperty<?, X> property) {
		this.oldValue = oldValue;
		this.newValue = newValue;
		this.property = property;
	}

	public X getOldValue() {
		return oldValue;
	}

	public X getNewValue() {
		return newValue;
	}

	public DependencyProperty<?, X> getProperty() {
		return property;
	}

}
